#include <stdio.h>
#include <math.h>
#include <stdlib.h>

typedef struct abc
{
  char *s;
  struct abc *next;
}*Stack;

int main(int argc,char **argv)
{
  char *s = "abc";
  Stack st = (Stack)malloc(sizeof(struct abc));
  st -> s = s;
  st -> next = NULL;

  free(st);
  printf("%s",s);
  return 0;
}
